import myaxios from "../MyAxios";
import URLENV from "@/http/BaseUrl";
const UCURL = URLENV.UCURL
const carmanagementApi = {
    caradd(params) {
        return myaxios.post(UCURL + '/carmanagement/car-add', params)
    },
    carList(params) {
        return myaxios.get(UCURL + '/carmanagement/car-list', params)
    },
    carDelete(params) {
        return myaxios.post(UCURL + '/carmanagement/car-delete', params)
    },
    carQuery(params) {
        return myaxios.get(UCURL + '/carmanagement/car-query', params)
    },
    carListIndex(params) {
        return myaxios.get(UCURL + '/carmanagement/car-list-index', params)
    },
    carQueryByBrand(params) {
        return myaxios.get(UCURL + '/carmanagement/car-brand', params)
    },
    carQueryByProvince(params) {
        return myaxios.get(UCURL + '/carmanagement/car-province', params)
    },
    carUpdate(params) {
        return myaxios.post(UCURL + '/carmanagement/update', params)
    }
}
export default carmanagementApi